package com.ygqh.baby.ao;

import java.io.Serializable;


public class ValidateCode implements Serializable {
	private static final long serialVersionUID = 3269272224544560920L;

	private String code;
	
	private Long sendCount = 0L;
	
	private Long sendTime;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Long getSendCount() {
		return sendCount;
	}

	public void setSendCount(Long sendCount) {
		this.sendCount = sendCount;
	}

	public ValidateCode(String code, Long sendCount) {
		super();
		this.code = code;
		this.sendCount = sendCount;
		this.sendTime = System.currentTimeMillis();
	}

	public ValidateCode() {
		super();
	}
	

	public Long getSendTime() {
		return sendTime;
	}

	public void setSendTime(Long sendTime) {
		this.sendTime = sendTime;
	}

	@Override
	public String toString() {
		return "ValidateCode [code=" + code + ", sendCount=" + sendCount + ", sendTime=" + sendTime + "]";
	}

	
	
	
}
